/**
 * com.yhte.mir.dao.impl
 * CenterDaoImpl.java
 * sunsu
 * 2012-9-18
 */
package com.yhte.mir.ill.dao.impl;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.orm.ibatis.SqlMapClientTemplate;

import com.yhte.mir.center.vo.CenterInfo;
import com.yhte.mir.ill.dao.IllDao;
import com.yhte.mir.ill.vo.IllInfo;

/**
 * @author sunsu
 *
 */
public class IllDaoImpl extends SqlMapClientTemplate implements IllDao {
	private static Logger log = Logger.getLogger(IllDaoImpl.class.getName());
	
	public List<IllInfo> findAll() {
		try {
			return this.getSqlMapClient().queryForList("findAll");
		} catch (SQLException e) {
			log.error("IllDaoImpl查询中间库数据出错："+e.getMessage());
			e.printStackTrace();
			return null;
		}
	}

}
